package com.atguigu.yygh.hosp.mongoTest;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @Author zhmwi
 * @Date 2021/7/7
 * @Dersciption
 */
@Data
@Document("User")
public class User {
    @Id
    private String id;
    private String name ;
    private Integer age ;
    private String email;
    private String createDate;
}
